package com.anywhere.freightman.order.controller.request;

import com.anywhere.freightman.common.enumeration.WaybillType;
import com.anywhere.freightman.order.model.AddressBookModel;

public class WaybillRequest {
    private AddressBookModel shipper;
    private AddressBookModel receiver;
    private String claim;
    private String appointedRoute;
    private Long km;
    private Double cost;
    private Double weight;
    private WaybillType type;

    public WaybillType getType() {
        return type;
    }

    public void setType(WaybillType type) {
        this.type = type;
    }

    public AddressBookModel getShipper() {
        return shipper;
    }

    public void setShipper(AddressBookModel shipper) {
        this.shipper = shipper;
    }

    public AddressBookModel getReceiver() {
        return receiver;
    }

    public void setReceiver(AddressBookModel receiver) {
        this.receiver = receiver;
    }

    public String getClaim() {
        return claim;
    }

    public void setClaim(String claim) {
        this.claim = claim;
    }

    public String getAppointedRoute() {
        return appointedRoute;
    }

    public void setAppointedRoute(String appointedRoute) {
        this.appointedRoute = appointedRoute;
    }

    public Long getKm() {
        return km;
    }

    public void setKm(Long km) {
        this.km = km;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }
}
